package com.sc.remote;

import com.sc.bean.ResultBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 对应sc-system-user模块的UserController类
 */
@FeignClient(value = "sc-system-user")
public interface RemoteUserClient {

    @GetMapping("/sys/user/{id}")
    public ResultBean getUser(@PathVariable("id") String id);
}
